<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>登录</title>
    <link rel="stylesheet" type="text/css" href="css/aui.css" />
		<link rel="stylesheet" type="text/css" href="css/main.css" />
</head>
<body>
    <div class="site-name">
      <p>北京114预约挂号平台</p>
    </div>

    <div class="login-container">
      <div class="login-title">
        <h4>登录</h4>
      </div>

      <div class="login-input" >
        <input type="text" id="platformPhone" placeholder="请输入您的手机号">
      </div>

        <div class="phone-right">
            <div class="phone-input">
                <input id="code" placeholder="请输入验证码" />
            </div>
            <i id="aaaa" class="getcode">获取验证码</i>
        </div>

      <div class="login-btn" >
        <a class="javascript:;" id="log">登录</a>
      </div>

      <div class="login-agree">
        <input class="radio_type" type="radio" name="type2" checked="checked"/>
        <p>
          我同意
          <a href="javascript:;">《预约挂号服务协议》</a>
          和
          <a href="javascript:;">《隐私协议》</a>
        </p>
      </div>
    </div>
</body>
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/jquery-1.8.3.min.js"></script>
<script src="js/url.js"></script>
<script type="text/javascript">
    $("#aaaa").click(function() {
        alert("验证码：111111")
    })
    //登陆
    $("#log").click(function(){
        $.ajax({
            Type:"post",
            url:getUrl()+"wechat114/platform/select",
            data:{"platformPhone":$("#platformPhone").val(),"code":$("#code").val()},
            dataType:"json",
            success:function (data) {
                // var platformPhone=$("#platformPhone").val();
                // sessionStorage.setItem("platformPhone");
            window.location.replace("center.html");
        }

    })
})

</script>

</html>
